/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:DELL
 * Date:2024-11-02
 * Time:21:14
 */
public class Test {
    public static void main(String[] args) {
        MyQueue myQueue=new MyQueue();
        myQueue.offer(1);
        myQueue.offer(2);
        myQueue.offer(3);
        myQueue.offer(4);
        System.out.println(myQueue.poll());
        System.out.println(myQueue.poll());
        System.out.println(myQueue.peek());
        System.out.println(myQueue.getUsedSize());
        System.out.println(myQueue.isEmpty());
    }
}
